.switchMaps {
    position: absolute;
    right: 10px;
    top: 30px;
    z-index: 9999;

    & .none {
        background: url("@{img-path}/gridList.png");
        background-position: -440px 0;
        width: 40px;
        display: block;
        border: 1px solid #333;

        &:hover {
            border: 1px solid #333;
        }

        p {
            &.text {
                background: rgba(0, 0, 0, 0.8);
                color: #fff;
                text-align: center;
            }

            &.pt {
                display: block;
                height: 70px;
            }
        }
    }

    ul {
        padding: 0px 5px 0 0px;
        letter-spacing: -0.3333em;
        font-size: 0;
        text-align: right;
        position: absolute;
        top: 0;
        right: 42px;
        // width: (90px+4)*5;

        text-align: right;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        // flex-direction: row-reverse;
        li {
            @boxSize: 90px;
            display: inline-block;
            margin: 0px 0 4px 4px;

            a {
                border: 2px solid #ccc;
                border-color: hsl(var(--b1));
                box-sizing: border-box;
                display: block;
                border-radius: 3px;
                width: @boxSize;
                height: @boxSize;
                position: relative;
                p {
                    text-align: center;
                    font-size: 12px;

                    &.icon {
                        width: 100%;
                        height: 100%;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }

                    i {
                        font-size: 26px;
                        color: #fff;
                    }

                    &.text {
                        padding: 2px 0;
                        background: hsl(var(--b1));
                        position: absolute;
                        width: 100%;
                        bottom: 0;
                    }
                }

                &.hov,
                &:hover {
                    border: 3px solid #1a9dfb;

                    p {
                        &.text {
                            font-weight: bold;
                            color: #1a9dfb;
                        }
                    }
                }
            }
        }
    }
}
.switch-maps {
    position: absolute;
    right: 10px;
    top: 30px;
    z-index: 9999;
    // &~.smenu{
    //     display: flex;
    // }
    & .none {
        background: url("@{img-path}/gridList.png");
        background-position: -440px 0;
        width: 40px;
        display: block;
        border: 1px solid #333;

        &:hover {
            border: 1px solid #333;
        }

        p {
            &.text {
                background: rgba(0, 0, 0, 0.8);
                color: #fff;
                text-align: center;
            }

            &.pt {
                display: block;
                height: 70px;
            }
        }
        // &~.smenu{
        //     display: none;
        // }
    }

    .smenu {
        position: absolute;
        top: 0;
        right: 46px;
        background: #fff;
        border: 1px solid #333;
        padding: 4px;
        h2 {
            text-align: left;
            font-size: 14px;
            // background: #eee;
            // border-radius: 50px;
            padding: 3px 10px;
            color: #333;
            margin: 10px 0;
            text-align: center;
            // border-bottom:1px solid #ccc;
            display: flex;
            align-items: center;
            span {
                padding: 0 6px;
            }
            &::before {
                content: "";
                background: #ccc;
                height: 1px;
                width: 10px;
            }
            &::after {
                content: "";
                background: #ccc;
                height: 1px;
                flex: 1;
            }
        }
        & > ul {
            padding: 5px 5px 0 0px;
            letter-spacing: -0.3333em;
            font-size: 0;

            // width: (90px+4)*5;

            text-align: right;
            overflow: hidden;
            display: flex;
            flex-wrap: wrap;

            // flex-direction: row-reverse;
            li {
                @boxSize: 90px;
                display: inline-block;
                margin: 0px 0 8px 8px;

                a {
                    border: 1px solid #ccc;
                    box-sizing: border-box;
                    display: block;
                    // border-radius: 3px;
                    width: @boxSize;
                    height: @boxSize;
                    position: relative;
                    overflow: hidden;
                    .yesIcon {
                        display: none;
                    }
                    p {
                        text-align: center;
                        font-size: 12px;

                        &.icon {
                            width: 100%;
                            height: 100%;
                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }

                        i {
                            font-size: 26px;
                            color: #fff;
                        }

                        &.text {
                            padding: 2px 0;
                            background: rgba(255, 255, 255, 0.8);
                            position: absolute;
                            width: 100%;
                            bottom: 0;
                        }
                    }

                    &.hov,
                    &:hover {
                        border: 1px solid #1a9dfb;

                        p {
                            &.text {
                                font-weight: bold;
                                color: #1a9dfb;
                            }
                        }
                    }
                    &.hov {
                        border: 2px solid #1a9dfb;
                        p {
                            &.text {
                                background: #1a9dfb;
                                color: #fff;
                            }
                        }
                        .yesIcon {
                            position: absolute;
                            display: block;
                            top: 3px;
                            right: 3px;
                            background: #3fb3ff;
                            color: #fff;
                            width: 20px;
                            height: 20px;
                            border-radius: 50%;
                        }
                    }
                }
            }
        }
        .layer-check-box{
            ul{
                display: flex;
                flex-wrap: wrap;
                li{
                    // width:33.3%;
                    width:140px;
                    padding:6px 8px;
                    box-sizing: border-box;
                    overflow: hidden;
                }
            }
        }
    }
}
.importDark (@a)when (@a="dark") {
    .switch-maps{
        .smenu{
            background: #434350;
            h2{
                color:#fff;
            }
            ul{
                li{
                    a{
                        border:1px solid #fff;
                    }
                }
            }
        }
        
    }
}